/* Copyright (c) 2016-2020 Enfry Ltd. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of Enfry. 
 * You shall not disclose such Confidential Information
 * and shall use it only in accordance with the terms of the agreements
 * you entered into with Enfry.
 */
package com.enfry.storage.common;

/**
 * 公用常量类。
 * 
 * @Title com.enfry.storage.common.Constants
 * @author liulei
 * @date 2016年7月25日
 */
public abstract class Constants {

	/** TOP默认时间格式 **/
	public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

	/** TOP Date默认时区 **/
	public static final String DATE_TIMEZONE = "GMT+8";

	/** UTF-8字符集 **/
	public static final String CHARSET_UTF8 = "UTF-8";

	/** GBK字符集 **/
	public static final String CHARSET_GBK = "GBK";

	/** SDK版本号 */
	public static final String SDK_VERSION = "storage-sdk-java-20150908";

	/** 上传文件参数名称 */
	public static final String FILE_PARAM_NAME = "storage_file";

	/** 加密后的上传文件参数名称 */
	public static final String FILE_ENCRYPT_PARAM_NAME = "storage_file_content";

	/** 异步请求需要解密的参数名称 */
	public static final String AJAX_DECRYPT_OUTPUT_NAME = "decrypt_outputStream";

	/** 异步请求无需解密的参数名称 */
	public static final String AJAX_OUTPUT_NAME = "outputStream";

	/** 图片请求时间戳 */
	public static final Long GET_IMG_TS = 3284071923874102938L;
	
	/**
	 * 是否删除标识 0已删除 1未删除;
	 */
	public static final String deteteFlag_0 = "0";
	public static final String deteteFlag_1 = "1";
	
	/**
	 * 是否是业务文件  0:不是 1:是
	 */
	public static final String isServiceFile_0 = "0";
	public static final String isServiceFile_1 = "1";
}
